/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao.interfaces;

import dao.exception.DAOCoursException;
import java.util.ArrayList;
import model.Cour;
import model.Enseignant;

/**
 *
 * @author Paul
 */
public interface DAOCours {
    
    public ArrayList<Cour> findCoursProf(int id_prof) throws DAOCoursException;

    public ArrayList<Cour> findCoursEtudiant(int id_etudiant) throws DAOCoursException;

    public ArrayList<Cour> findCoursCoeff(int idEleve) throws DAOCoursException;

    public void attributeEudiant(int id_Etudiant, int id_Cour) throws DAOCoursException;

    public boolean attributeProfesseur(int id_prof, int id_Cour) throws DAOCoursException;

    public boolean createCourExam(int idCour, int idExamen) throws DAOCoursException;

    public int create(String nomCour, float coeff) throws DAOCoursException;

    public ArrayList<Enseignant> rechercheProf(int id_cour) throws DAOCoursException;
}
